import Vue from 'vue'
import Vuex from 'vuex'

// if (process.env.NODE_ENV === "development") {
//     Vue.use(Vuex)
// }
Vue.use(Vuex)
import user from './modules/user'
import permission from './modules/permission'
import money from './modules/money'
import menu from './modules/menu'
import orderForm from './modules/orderForm'
import finance from './modules/finance'
import tabsBar from './modules/tabsBar'



export default new Vuex.Store({
    modules: {
        user,
        permission,
        money,
        menu,
        orderForm,
        finance,
        tabsBar
    },

});